package com.probiz.estore.order.service;

import com.probiz.estore.common.model.order.OrderShipment;
import com.probiz.estore.core.service.GenericManager;

/**
 * Manager interface for OrderShipment, responsible for business processing, and communicate between web and persistence layer.
 *
 */
public interface OrderShipmentManager extends GenericManager<OrderShipment> {
	/**
	 * 根据发、退货单号获得实体
	 * @param documentNo
	 * @return
	 */
	public OrderShipment getByDocumentNo(String documentNo);
	/**
	 * 根据单据号获得发退货单个数
	 * @return
	 */
	public Long getSizeByDocumentNo(String documentNo);
	
	/**
	 * 查询物流信息
	 * @param doumentNo
	 * @return 1=查询成功 0=查询失败 2=没有填写物流跟踪号 3=没有填写对应物流公司的公司代码
	 */
	public Short queryKuaidi100(String documentNo);
}
